package cn.tedu.application.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ApplicationQuery {
    //高级查询
    @ApiModelProperty(value = "请假人姓名")
    private String username;
    @ApiModelProperty(value = "申请人id")
    private Long uid;
    @ApiModelProperty(value = "申请状态")
    private String status;

    //分页的数据
    private Integer currentPage = 1;
    private Integer pageSize = 5;
    public Integer getBegin() {
        return (this.currentPage-1)*this.pageSize;
    }

}
